<%--
  Created by IntelliJ IDEA.
  User: 冲塔怪
  Date: 2022/5/2
  Time: 15:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%
    String basePath = request.getScheme()
            +"://"
            + request.getServerName()
            + ":"
            + request.getServerPort()
            + request.getContextPath()
            + "/";
    String basePath1 = request.getScheme()
            +"://"
            + request.getServerName()
            + ":"
            + request.getServerPort()
            + "/";

    pageContext.setAttribute("basePath",basePath);
    pageContext.setAttribute("basePath1",basePath1);
%>
<%=basePath%>
<%=basePath1%>
<base href="<%=basePath%>">
